


* Figures are made with the plotplain plugin. Base graphic scheme won't
* replicae the same graphs

/* 
Main idea:
I suspected that a higher number of unarmed civilia deaths would
increase fear, decrease views of legitimacy, less willingness to comply,
less willingness to cooperate. Goal is to compare relative to outcomes and check
for interesting findings"
*/


*regression where people choose not to disclose race
regress fear100 i.group i.gend i.race age if race != 7

pwcompare group, mcompare(dunnett) effects

* want to create plots for cell means for visualization
margins group // cell means
marginsplot, recast(dot) ytitle("Fear of Police") title("")


/*
Interpretation: relative to the control condition, where no received
information about the extent of deadly force, fear of police does not increase
a substantial amount. the only time people seem more afraid of police, related to 
shootings is in the category where 16% of all shootings involve unarmed civilains.
However, this effect is null once one is given information about the extent of shootings
in the US per year
*/

*regression where people choose not to disclose race
regress legit100 i.group i.gend i.race age if race != 7
pwcompare group, mcompare(dunnett) effects
margins group
marginsplot, recast(dot) ytitle("Police Legitimacy") 


/*
After correcting for multiple comparisons relative to reference category, there 
aren't any significant differecnes in legitimacy across experimental group. 
*/


*regression where people choose not to disclose race
regress coop100 i.group i.gend i.race age if race != 7
pwcompare group, mcompare(dunnett) effects
margins group
marginsplot,recast(dot) ytitle("Cooperation") 



/*
Interpretation: no changes in cooperation with police relative to control group
*/

*regression where people choose not to disclose race
regress comp100 i.group i.gend i.race age if race !=7
pwcompare group, mcompare(dunnett) effects
margins group
marginsplot, recast(dot) ytitle("Compliance") 

/*
Interp: no change in in compliance with police
*/




*/




